﻿@using ThisIsFirstTest.Models.AccountModel;
@model  ChangePasswordModel
@{
    ViewBag.HeaderTitle = "ChangePassword";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@using (Html.BeginForm())
{
    <ul data-role="listview" data-inset="true" data-mini="true">
        <li data-role="list-divider"></li>
        <li data-role="fieldcontain">
            @Html.LabelFor(c => c.Password, "Old Password : ")
            @Html.PasswordFor(c => c.Password)
            @Html.ValidationMessageFor(c => c.Password)
        </li>
        <li data-role="fieldcontain">
            @Html.LabelFor(c => c.NewPassword, "new Password : ")
            @Html.PasswordFor(c => c.NewPassword)
            @Html.ValidationMessageFor(c => c.NewPassword)
        </li>
    </ul>
    <ul data-role="listview" data-inset="true" data-mini="true">
        <li data-role="list-divider"></li>
        <li>
            <div class="ui-grid-a">
                <div class="ui-block-a">
                    <input type="submit" value="Update" /></div>
                <div class="ui-block-b">
                    <a href="@Url.Action("Index")" data-role="button" data-theme="e">Cancel</a></div>
            </div>
        </li>
    </ul>
}
